PATH
WebObjects 4.5 Documentation >
Getting Started With Direct to Java Client
Other Approaches
There are also more specialized ways to change the way Direct to Java Client works. You use the following techniques to accomplish specific tasks:
Direct to Java Client provides hooks you can use to introduce custom commands into an application's main menu. For more information, see Adding Custom Actions.
- Implementing custom controller classes
This approach allows you to change the way an application performs a particular task or to add new functionality to the default set. For more information, see Implementing Custom Controller Classes.
- Implementing controller factory delegate methods
The EOControllerFactory allows you to modify many aspects of the default behavior by providing a delegate. For example, you can use this technique to alter the specifications the controller factory supplies to the rule system, substitute a controller for the one returned by the rule system, change the property keys used for a particular entity and task, and so on.
If you create a controller factory delegate, be careful to avoid implementing unsecure functionality in the controller factory. Information that isn't usually visible on the client should not be sent to the client only to use it in the factory's delegate.
© 1999 Apple Computer, Inc. – (Draft. Last updated 05 Jan 00)